import { computed, ref } from 'vue';
import { useThemeStore } from "@/stores"
export const useTableStyle = () => {
    const themeStore = useThemeStore()
    const tableSize = ref<HTABLE.TableSize>('default')
    const isHideSearch = ref<boolean>(false)
    const tableShadowColor = computed(() => themeStore.layoutColorMode === 2 ? '255,255,255' : '0,0,0')
    return {
        tableSize,
        isHideSearch,
        tableShadowColor
    }
}